@extends('admin.layout.main')
@section("content")
    @include("admin.customer.js")
    @include("admin.customer.js2")
    @include("admin.customer.js3")
    @include("admin.customer.js4")
    @include("admin.customer.js5")
    {{--lay-allowclose="true" 则为开启删除--}}


<div class="layui-tab layui-tab-card" lay-filter="demo" >
    <ul class="layui-tab-title">
            <li class="layui-this"  lay-id="11">自身线索</li>
            <li lay-id="22">线索池</li>
            <li lay-id="33">自身客户</li>
            <li lay-id="44">客户池</li>
            <li lay-id="55">客户联系人</li>
    </ul>
    <div class="layui-tab-content">
        {{--tab1的内容--}}
        <div class="layui-tab-item layui-show">
             <div class="demoTable">
                 <select name="interest" id="xzk" style="height:38px;" lay-filter="aihao">
                     <option value="">默认</option>
                     <option value="ID">ID</option>
                     <option value="name" selected="">姓名</option>
                     <option value="company_name">公司名</option>
                     <option value="phone">联系电话</option>
                     <option value="user_id">处理人</option>
                 </select>
                 <div class="layui-inline">
                     <input class="layui-input" name="id" id="demoReload" autocomplete="off">
                 </div>
                 <button class="layui-btn" data-type="reload">搜索</button>
             </div>
            <div class="layui-btn-group demoTable" id="layerDemo" style="width:100%">
                <div style="float:right;" class="is_show">
                    <button class="layui-btn" data-type="getCheckData">删除选中行数据</button>
                    <button class="layui-btn" data-type="getCheckLength">仍回线索池</button>
                    <button class="layui-btn" data-type="isAll">转换为客户</button>
                </div>
            </div>

            <table id="demo" lay-filter="test" class="layui-hide"></table>
        </div>

        {{--tab2的内容--}}
        @include("admin.customer.index2")
        {{--tab3的内容--}}
        @include("admin.customer.index3")
        {{--tab4的内容--}}
        @include("admin.customer.index4")
        {{--tab5的内容--}}
        @include("admin.customer.index5")

    </div>
</div>

@endsection